Skip to content

Editorial review: SVG <use>: Omit URL fragment to reference external root #39702

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chrisdavidmills
Copy link
Contributor

Description

In Chrome 137, you can now omit the fragment in an SVG <use> element href when referencing an external SVG file, to reference the SVG root element. See https://chromestatus.com/feature/5128141573718016.

This PR updates the <use> reference page to add information about this.

Motivation

Additional details

Related issues and pull requests

@chrisdavidmills chrisdavidmills requested a review from a team as a code owner May 27, 2025 09:24
@chrisdavidmills chrisdavidmills requested review from pepelsbey and removed request for a team May 27, 2025 09:24
@github-actions github-actions bot added the Content:SVG SVG docs label May 27, 2025
@chrisdavidmills chrisdavidmills changed the title SVG <use>: Omit URL fragment to reference external root Editorial review: SVG <use>: Omit URL fragment to reference external root May 27, 2025
@github-actions github-actions bot added the size/m [PR only] 51-500 LoC changed label May 27, 2025
@chrisdavidmills
Copy link
Contributor Author

I don't think we need a tech review for this one, as it is such a small point, so I'm moving it straight to the editorial review stage.

Copy link
Contributor

Preview URLs

Flaws (2)

URL: /en-US/docs/Web/SVG/Reference/Element/use
Title: <use>
Flaw count: 2

  • macros:
    • Macro produces link /en-US/docs/Web/SVG/Element which is a redirect
    • Macro produces link /en-US/docs/Web/SVG/Element which is a redirect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:SVG SVG docs size/m [PR only] 51-500 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant